package my.design.uml;

/**
 * @author zp
 * @version 1.0
 * @description: TODO
 * @date 2022/9/28 19:40
 */
public class Computer {
    private Mouse mouse;
    private Keyboard keyboard;

    public void setMouse(Mouse mouse) {
        this.mouse = mouse;
    }

    public void setKeyboard(Keyboard keyboard) {
        this.keyboard = keyboard;
    }
}

class Mouse {}

class Keyboard {}
